import { createRouter, createWebHistory } from 'vue-router'

import Routes from '@/views/routes'

const router = createRouter({
  history: createWebHistory(''),
  routes: Routes,
})
router.beforeEach((to, from, next) => {
  next()
})
export default router
